add_definitions("-g")
#=> .c source code
aux_source_directory(${PROJECT_SOURCE_DIR}/net NET_FILES)

#=> sub src dir
add_subdirectory(${PROJECT_SOURCE_DIR}/net/private)

#=> project include
set(INCLUDE_DIR ${PROJECT_SOURCE_DIR}/rootfs/include)
include_directories(${INCLUDE_DIR})
#MESSAGE(STATUS "This is business INCLUDE dir "${INCLUDE_DIR})

#=> project link libs
set(LIBS_DIR ${PROJECT_SOURCE_DIR}/rootfs/lib)
link_directories(${LIBS_DIR})
#MESSAGE(STATUS "This is business LIB dir "${LIBS_DIR})

add_library(net STATIC ${NET_FILES})

target_link_libraries(net pl sfc gs70_f72 zlog ini-djgpp proto_private pthread)